Carbon


DrawControlInCurrentPort

Header: Controls.h Carbon status: Supported

Draws a control in the current graphics port.

void DrawControlInCurrentPort (
    ControlRef inControl
);
inControl

A handle to the control to draw.

DISCUSSION

Typically, controls are automatically drawn in their owner’s graphics port with the functions DrawControls, Draw1Control, and UpdateControls. DrawControlInCurrentPort permits easy offscreen control drawing and printing. All standard system controls support this function.

VERSION NOTES

This function is available with Appearance Manager 1.0 and later.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)